package com.study.factorymethod.factory.factoryImpl;

import com.study.factorymethod.factory.MyFactory;
import com.study.factorymethod.product.MyProduct;
import com.study.factorymethod.product.productImpl.MyProductImpl2;

/**
 * @ClassName: MyFactoryImpl2
 * @Description:
 * @Details:
 * @Author: 郑港旭
 * @Create: 2021-11-12 14:27
 **/
public class MyFactoryImpl2 implements MyFactory {
    @Override
    public MyProduct getBean() {
        return new MyProductImpl2();
    }
}
